package com.tsd.jxc.order.service;

import com.tsd.core.vo.PageBean;
import com.tsd.jxc.order.entity.JxcOrderCutMoney;
import com.tsd.jxc.order.entity.JxcOrderCutMoneyExt;
import com.tsd.system.entity.SysUser;

import java.util.List;
import java.util.Map;

/**
 * 描述：JxcOrderCutMoney服务实现层接口
 *
 * @author Hillpool
 * @date 2023/03/02 13:47:24
 */
public interface JxcOrderCutMoneyService {

    /**
     * 描述：根据id获取JxcOrderCutMoney
     *
     * @param id
     */
    JxcOrderCutMoney getJxcOrderCutMoneyById(Long id) throws Exception;

    /**
     * 描述：根据sid获取JxcOrderCutMoney
     *
     * @param sid
     */
    JxcOrderCutMoneyExt queryBySid(String sid) throws Exception;

    /**
     * 描述：根据sid列表删除JxcOrderCutMoney
     *
     * @param list
     */
    void deleteJxcOrderCutMoneys(List<String> list, SysUser opUser) throws Exception;

    /**
     * 描述：保存或更新JxcOrderCutMoney
     *
     * @param record
     * @param opUser
     */
    void saveJxcOrderCutMoney(JxcOrderCutMoneyExt record, SysUser opUser) throws Exception;

    /**
     * 描述：根据params分页查询JxcOrderCutMoney
     *
     * @param params
     * @param page
     */
    List<JxcOrderCutMoneyExt> findJxcOrderCutMoneys(Map<String, Object> params, PageBean page) throws Exception;

    /**
     * 描述：根据params分页查询JxcOrderCutMoney
     *
     * @param params
     */
    List<JxcOrderCutMoneyExt> findJxcOrderCutMoneys(Map<String, Object> params) throws Exception;
}